using UnityEngine;

namespace Assets.Scripts.GDK
{
	public class gdk_localStorage
	{
		public static void setInt(string key, int value)
		{
			PlayerPrefs.SetInt(key, value);
		}

		public static void setFloat(string key, float value)
		{
			PlayerPrefs.SetFloat(key, value);
		}

		public static void setString(string key, string value)
		{
			PlayerPrefs.SetString(key, value);
		}

		public static int getInt(string key)
		{
			return PlayerPrefs.GetInt(key);
		}

		public static float getFloat(string key)
		{
			return PlayerPrefs.GetFloat(key);
		}

		public static string getString(string key)
		{
			return PlayerPrefs.GetString(key);
		}

		public static bool hasKey(string key)
		{
			return PlayerPrefs.HasKey(key);
		}

		public static void deleteKey(string key)
		{
			PlayerPrefs.DeleteKey(key);
		}

		public static void deleteAll()
		{
			PlayerPrefs.DeleteAll();
		}
	}
}
